package cc.customer.system.domain;

import java.util.Date;
import javax.persistence.*;

@Table(name = "t_ex_config_record")
public class ExConfigRecord {
    @Id
    @Column(name = "ex_c_id")
    private Integer exCId;

    @Column(name = "ex_c_uuid")
    private String exCUuid;

    @Column(name = "ex_c_puuid")
    private String exCPuuid;

    /**
     * 配置得部门
     */
    @Column(name = "ex_c_dept")
    private String exCDept;


    /**部门名称**/
    @Transient
    private String exCDeptName;

    /**
     * 配置得数量
     */
    @Column(name = "ex_c_num")
    private String exCNum;

    /**配置得当前部门是都已经分配了**/
    @Column(name = "ex_c_isdis")
    private String exCIsdis;

    /**
     * 已经分配得数量
     */
    @Column(name = "ex_c_ynum")
    private int exCYnum;

    /**
     * 本月分配得数量
     */
    @Column(name = "ex_c_ytotle")
    private String exCYtotle;

    /**
     * 本月第几次循环
     */
    @Column(name = "ex_c_cycles")
    private int exCCycles;
    /**排序**/
    @Column(name = "ex_c_order")
    private String exCOrder;

    @Column(name = "ex_c_time")
    private String exCTime;

    @Column(name = "ex_c_type")
    private String exCType;

    public String getExCType() {
        return exCType;
    }

    public void setExCType(String exCType) {
        this.exCType = exCType;
    }

    /**
     * @return ex_c_id
     */
    public Integer getExCId() {
        return exCId;
    }

    /**
     * @param exCId
     */
    public void setExCId(Integer exCId) {
        this.exCId = exCId;
    }

    public String getExCIsdis() {
        return exCIsdis;
    }

    public void setExCIsdis(String exCIsdis) {
        this.exCIsdis = exCIsdis;
    }

    /**
     * @return ex_c_uuid
     */
    public String getExCUuid() {
        return exCUuid;
    }

    /**
     * @param exCUuid
     */
    public void setExCUuid(String exCUuid) {
        this.exCUuid = exCUuid == null ? null : exCUuid.trim();
    }

    /**
     * @return ex_c_puuid
     */
    public String getExCPuuid() {
        return exCPuuid;
    }

    public String getExCDeptName() {
        return exCDeptName;
    }

    public void setExCDeptName(String exCDeptName) {
        this.exCDeptName = exCDeptName;
    }
    /**
     * @param exCPuuid
     */
    public void setExCPuuid(String exCPuuid) {
        this.exCPuuid = exCPuuid == null ? null : exCPuuid.trim();
    }

    /**
     * 获取配置得部门
     *
     * @return ex_c_dept - 配置得部门
     */
    public String getExCDept() {
        return exCDept;
    }

    /**
     * 设置配置得部门
     *
     * @param exCDept 配置得部门
     */
    public void setExCDept(String exCDept) {
        this.exCDept = exCDept == null ? null : exCDept.trim();
    }

    /**
     * 获取配置得数量
     *
     * @return ex_c_num - 配置得数量
     */
    public String getExCNum() {
        return exCNum;
    }

    /**
     * 设置配置得数量
     *
     * @param exCNum 配置得数量
     */
    public void setExCNum(String exCNum) {
        this.exCNum = exCNum;
    }

    /**
     * 获取已经分配得数量
     *
     * @return ex_c_ynum - 已经分配得数量
     */
    public Integer getExCYnum() {
        return exCYnum;
    }

    /**
     * 设置已经分配得数量
     *
     * @param exCYnum 已经分配得数量
     */
    public void setExCYnum(Integer exCYnum) {
        this.exCYnum = exCYnum;
    }

    /**
     * 获取本月分配得数量
     *
     * @return ex_c_ytotle - 本月分配得数量
     */
    public String getExCYtotle() {
        return exCYtotle;
    }

    /**
     * 设置本月分配得数量
     *
     * @param exCYtotle 本月分配得数量
     */
    public void setExCYtotle(String exCYtotle) {
        this.exCYtotle = exCYtotle;
    }

    /**
     * 获取本月第几次循环
     *
     * @return ex_c_cycles - 本月第几次循环
     */
    public Integer getExCCycles() {
        return exCCycles;
    }

    /**
     * 设置本月第几次循环
     *
     * @param exCCycles 本月第几次循环
     */
    public void setExCCycles(Integer exCCycles) {
        this.exCCycles = exCCycles;
    }

    /**
     * @return ex_c_order
     */
    public String getExCOrder() {
        return exCOrder;
    }

    /**
     * @param exCOrder
     */
    public void setExCOrder(String exCOrder) {
        this.exCOrder = exCOrder == null ? null : exCOrder.trim();
    }

    /**
     * @return ex_c_time
     */
    public String getExCTime() {
        return exCTime;
    }

    /**
     * @param exCTime
     */
    public void setExCTime(String exCTime) {
        this.exCTime = exCTime;
    }

    @Override
    public String toString() {
        return "ExConfigRecord{" +
                "exCId=" + exCId +
                ", exCUuid='" + exCUuid + '\'' +
                ", exCPuuid='" + exCPuuid + '\'' +
                ", exCDept='" + exCDept + '\'' +
                ", exCDeptName='" + exCDeptName + '\'' +
                ", exCNum='" + exCNum + '\'' +
                ", exCIsdis='" + exCIsdis + '\'' +
                ", exCYnum=" + exCYnum +
                ", exCYtotle='" + exCYtotle + '\'' +
                ", exCCycles=" + exCCycles +
                ", exCOrder='" + exCOrder + '\'' +
                ", exCTime='" + exCTime + '\'' +
                '}';
    }
}